package org.nepu.scr.indexrate.vo.riskrate.operationpersonnel;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.nepu.scr.indexrate.converter.DataVoConverter;
import org.nepu.scr.indexrate.vo.DataVo;

import javax.persistence.Column;
import javax.persistence.Convert;

@Data
public class OperationPersonnelMenu {

    @ApiModelProperty("岗位证书(是否在有效期内)")
    @Column(name = "job_certificate")
    @Convert(converter = DataVoConverter.class)
    DataVo jobCertificate;

    @ApiModelProperty("健康证(是否在有效期内)")
    @Column(name = "health_certificate")
    @Convert(converter = DataVoConverter.class)
    DataVo healthCertificate;

    @ApiModelProperty("五小证、补差证、海上交通证(是否在有效期内)")
    @Column(name = "five_certificate")
    @Convert(converter = DataVoConverter.class)
    DataVo fiveCertificate;

    @ApiModelProperty("安全生产知识与管理能力考核合格证(是否在有效期内)")
    @Column(name = "safety_production_knowledge_certificate")
    @Convert(converter = DataVoConverter.class)
    DataVo safetyProductionKnowledgeCertificate;

    @ApiModelProperty("硫化氢防护(是否在有效期内)")
    @Column(name = "sulfur_hydrogen_protection")
    @Convert(converter = DataVoConverter.class)
    DataVo sulfurHydrogenProtection;

    @ApiModelProperty("井控证(是否在有效期内)")
    @Column(name = "well_control_certificate")
    @Convert(converter = DataVoConverter.class)
    DataVo wellControlCertificate;

    @ApiModelProperty("电工证(是否在有效期内)")
    @Column(name = "electrician_certificate")
    @Convert(converter = DataVoConverter.class)
    DataVo electricianCertificate;

    @ApiModelProperty("焊工证(是否在有效期内)")
    @Column(name = "welder_certificate")
    @Convert(converter = DataVoConverter.class)
    DataVo welderCertificate;

    @ApiModelProperty("起重证（船吊）(是否在有效期内)")
    @Column(name = "rigging_certificate")
    @Convert(converter = DataVoConverter.class)
    DataVo riggingCertificate;

    @ApiModelProperty("司索证(是否在有效期内)")
    @Column(name = "saw_certificate")
    @Convert(converter = DataVoConverter.class)
    DataVo sawCertificate;

    @ApiModelProperty("报务员证书(是否在有效期内)")
    @Column(name = "accountant_certificate")
    @Convert(converter = DataVoConverter.class)
    DataVo accountantCertificate;

    @ApiModelProperty("餐饮行业健康证(是否在有效期内)")
    @Column(name = "restaurant_health_certificate")
    @Convert(converter = DataVoConverter.class)
    DataVo restaurantHealthCertificate;

    @ApiModelProperty("医师证书(是否在有效期内)")
    @Column(name = "doctor_certificate")
    @Convert(converter = DataVoConverter.class)
    DataVo doctorCertificate;

    @ApiModelProperty("叉车驾驶员证(是否在有效期内)")
    @Column(name = "forklift_driver_certificate")
    @Convert(converter = DataVoConverter.class)
    DataVo forkliftDriverCertificate;
}
